package com.ruoyi.project.erp.service;

import com.ruoyi.framework.web.domain.AjaxResult;
import com.ruoyi.project.erp.domain.WorklogTemp;
import com.ruoyi.project.erp.dto.AssignWorklogDTO;
import com.ruoyi.project.erp.vo.DailyWorklogSummaryVO;

import java.util.Date;
import java.util.List;

public interface IWorklogTempService {
    WorklogTemp getTempWorklogById(Long id);
    DailyWorklogSummaryVO getDailySummary(Date workDate);
    AjaxResult saveOrUpdateTempWorklog(WorklogTemp worklogTemp);
    AjaxResult assignTempWorklog(AssignWorklogDTO dto);
    List<WorklogTemp> selectCurrentUserPendingList();

    AjaxResult submitTempWorklogsByDate(Date workDate);

    int deleteWorklogTempById(Long id);
}
